#works with version 1.1.4

DEFAULT_LEANUX_PREFIX=/usr

pkg_configure_prepare(){
	make distclean || true

	autoreconf --force --install
}

pkg_configure(){
	./configure	--prefix=${LEANUX_PREFIX}	\
			--disable-static		\
			--with-gnu-ld
}

pkg_compile(){
	make ${MAKE_JOBS}
}

pkg_install(){
	make ${MAKE_JOBS} install
}

files_and_dirs="
lib
lib/libmtdev.la
lib/libmtdev.so.1.0.0
lib/pkgconfig
lib/pkgconfig/mtdev.pc
lib/libmtdev.so
lib/libmtdev.so.1
include
include/mtdev-mapping.h
include/mtdev-plumbing.h
include/mtdev.h
bin
bin/mtdev-test"
